package com.invengo.library_rfid.entity;


import java.io.Serializable;
import java.util.List;

public class ScanSettingMasterEntity implements Serializable {
    private int voice;//提示音.0-enable, 1-disable
    private int type;//操作类型。0-单次，1-循环
    private int antenna;//天线端口号

    private String name;//标签类型e.g.6C
    private int code;//标签类型代码e.g.0
    /***** SQLite
     id | code | name
     1  | 0    | 6C
     2  | 1    | 6B
     3  | 2    | GB
     4  | 3    | 6C&6B
     5  | 4    | Temperature
     */
    private List<ScanSettingTagReadPatternEntity> patterns;//读方案,含参数等

    private int filter;//是否过滤.0-enable，1-disable
    private String data;//过滤数据
    private int bank;//过滤区域

    private int active;//0-active, 1-inactive

    private int viewType;//0-statistic, 1-detail
    private int sorting;//0-enable, 1-disable

    public int getVoice() {
        return voice;
    }

    public void setVoice(int voice) {
        this.voice = voice;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getAntenna() {
        return antenna;
    }

    public void setAntenna(int antenna) {
        this.antenna = antenna;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ScanSettingTagReadPatternEntity> getPatterns() {
        return patterns;
    }

    public void setPatterns(List<ScanSettingTagReadPatternEntity> patterns) {
        this.patterns = patterns;
    }

    public int getFilter() {
        return filter;
    }

    public void setFilter(int filter) {
        this.filter = filter;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public int getBank() {
        return bank;
    }

    public void setBank(int bank) {
        this.bank = bank;
    }

    public int getActive() {
        return active;
    }

    public void setActive(int active) {
        this.active = active;
    }

    public int getViewType() {
        return viewType;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }

    public int getSorting() {
        return sorting;
    }

    public void setSorting(int sorting) {
        this.sorting = sorting;
    }
}
